/*
 * Licensed to the Deppon EXPRESS .
 */
package com.depponframework.rocketmq.spring.autoconfigure;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@EnableConfigurationProperties(value = {RocketProperties.class})
@ConditionalOnProperty(
        prefix = "deppon.rocket",
        value = {"name-server-address"},
        matchIfMissing = true
)
@Import({ListenerContainerConfiguration.class})
public class RocketAutoConfiguration {
}
